<!-- <template>
  <div id="app">
    <h1>子组件</h1>
  </div>
</template>

<script>
  export default{
    name:'childCom',
    data (){
      return{

      }
    }
  }
</script>

<style scoped>
  #app{
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
</style>
 -->